package Database;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.*;

public class GetCoordonate {

    private Connection conexiune;

    public GetCoordonate(Connection conexiune) {
        this.conexiune = conexiune;
    }

    public ResultSet coordonate() throws SQLException {
        Statement s = conexiune.createStatement();
	return s.executeQuery("select * from statii");
    }
}
